<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>grid网格布局</title>
    <style>
        .box{
            width: 200px;
            height: 200px;
            background: red;
            /* display: grid;块级网格 */
            /* display: inline-grid;行内块级网格 */
            display: grid;
        }
    </style>
</head>
<body>
    <span>1111</span>
    <span class="box">2222</span>
    <span>3333</span>
</body>
</html>